package com.tentact.coolmeetingtest.vo;

import com.tentact.coolmeetingtest.annotation.AutoBuild;

import java.sql.Timestamp;

/**
 * @author 星环
 * @date 2023/2/4 21:18:33
 * @description
 */
@AutoBuild
public class Meeting {
    private int meetingno;
    private String meetingName;
    private int roomno;
    private Timestamp startTime;
    private Timestamp endTime;
    private Timestamp bookTime;
    private int expectedPersonCount;
    private String description;
    private int state;
    private int bookerno;

    //这是为了业务
    private String roomName;
    private String bookerName;

    public Meeting(){

    }

    public Meeting(int meetingno, String meetingName, int roomno, Timestamp startTime, Timestamp endTime, Timestamp bookTime, int expected_person_count, String description, int state, int bookerno) {
        this.meetingno = meetingno;
        this.meetingName = meetingName;
        this.roomno = roomno;
        this.startTime = startTime;
        this.endTime = endTime;
        this.bookTime = bookTime;
        this.expectedPersonCount = expected_person_count;
        this.description = description;
        this.state = state;
        this.bookerno = bookerno;
    }

    @Override
    public String toString() {
        return "Meeting{" +
                "meetingno=" + meetingno +
                ", meetingName='" + meetingName + '\'' +
                ", roomno=" + roomno +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", bookTime=" + bookTime +
                ", expected_person_count=" + expectedPersonCount +
                ", description='" + description + '\'' +
                ", state=" + state +
                ", bookerno=" + bookerno +
                '}';
    }

    public String getBookerName() {
        return bookerName;
    }

    public void setBookerName(String bookerName) {
        this.bookerName = bookerName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public int getMeetingno() {
        return meetingno;
    }

    public void setMeetingno(int meetingno) {
        this.meetingno = meetingno;
    }

    public String getMeetingName() {
        return meetingName;
    }

    public void setMeetingName(String meetingName) {
        this.meetingName = meetingName;
    }

    public int getRoomno() {
        return roomno;
    }

    public void setRoomno(int roomno) {
        this.roomno = roomno;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public Timestamp getBookTime() {
        return bookTime;
    }

    public void setBookTime(Timestamp bookTime) {
        this.bookTime = bookTime;
    }

    public int getExpectedPersonCount() {
        return expectedPersonCount;
    }

    public void setExpectedPersonCount(int expectedPersonCount) {
        this.expectedPersonCount = expectedPersonCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getBookerno() {
        return bookerno;
    }

    public void setBookerno(int bookerno) {
        this.bookerno = bookerno;
    }
}
